<?php include display('header'); ?>

<script type="text/javascript" src="./admin/javascript/article.js"></script>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td width="65%" style="padding: 6px 10px;">
<div class='f_left' id='tb_menu1'>
<a onclick="article.newMore();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/36.gif"/><b>续发 </b></a>
<a onclick="article.editSelect();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/40.gif"/><b>编辑 </b></a>
<a onclick="article.publish();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/35.gif"/><b>发布 </b></a>
<a onclick="article.preview();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/41.gif"/><b>预览 </b></a>
<a onclick="article.copy();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/42.gif"/><b>复制 </b></a>
<a onclick="article.move();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/43.gif"/><b>转移 </b></a>
<a onclick="article.articleDelConfirm();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/44.gif"/><b>删除 </b></a>
</div>
</td>
</tr>
<tr>
<td style="padding: 2px 10px;">
<div class='f_left' >列出: 
<select style='width: 120px;'>
<option>所有文档</option>
<option>我创建的文档</option>
<option>流转中的文档</option>
<option>待发布的文档</option>
<option>已发布的文档</option>
<option>已下线的文档</option>
</select>
</div> 
<div class='f_left' style="padding-left:10px;">
从 <input type="text" style="width: 80px;" id="StartDate" class="sinput"/><img align="absmiddle" vspace="1" src="./images/system/Calendar.gif"/> 
至 <input type="text" style="width: 80px;" id="EndDate" class="sinput"/><img align="absmiddle" vspace="1" src="./images/system/Calendar.gif"/>
</div>
<div class='f_left' style="padding-left:10px;">
关键词: <input type="text" name="Keyword" class="sinput"/> <a class="slbutton" href="javascript:void(1);"><input type="button" class="srbutton" value="查询" onclick="search()"/></a>
</div>
</td>
</tr>
<tr>
<td style="padding: 2px 6px;">
<table cellspacing="0" cellpadding="2" width="100%" size="15" page="true" id="dg1" class="stable">
<tbody>
<tr class="tableth">
<td width="3%">ID</td>
<td width="3%"><input type="checkbox" id="checkbox" onclick="checkall();"></td>
<td width="52%">标题</td>
<td width="16%">栏目</td>
<td width="8%">创建者</td>
<td width="5%">页数</td>
<td width="13%">日期</td>
</tr><?php if(is_array($articles)) { foreach($articles as $v) { ?>
<tr id="tr_<?=$v['id']?>" ondblclick="article.editSelect(<?=$v['id']?>);">
<td><?=$v['id']?></td>
<td><input type="checkbox" name="ids[]" class="checkbox" value="<?=$v['id']?>" onclick="article.checkboxSelect(<?=$v['id']?>)"></td>
<td><span style="color:<?=$v['title_color']?>;"><?=$v['title']?></span></td>
<td><?=$v['category']?></td>
<td><?=$v['creater']?></td>
<td id="pageno"><?=$v['page_no']?></td>
<td><?=$v['post_time']?></td>
</tr><?php } } ?><tr>
<td align="left" colspan="7">
<div style="float: left; font-family: Tahoma;">共 <?=$article_no?> 条记录，每页 15 条，当前第 <?=$page?> / <?=$page_no?> 页</div>
<div style="float: right; font-family: Tahoma;">
<input type="hidden" id="curr_url" value="<?=$url?>">
<input type="hidden" id="page_no" value="<?=$page_no?>">
<input type="hidden" id="curr_page" value="<?=$page?>">
<a href="javascript:void(0);" onclick="page.go('first')">第一页</a>| 
<a href="javascript:void(0);" onclick="page.go('prev')">上一页</a>| 
<a href="javascript:void(0);" onclick="page.go('next')">下一页</a>| 
<a href="javascript:void(0);" onclick="page.go('last')">最末页</a>
转到第 <input type="text" onkeyup="value=value.replace(/\D/g,'')" style="width: 40px;" class="sinput" id="gopage"/> 页  
<a class="slbutton" href="javascript:void(1);" onclick="page.gopage();"><input type="button" class="srbutton" value="跳转"/></a>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<?php include display('footer'); ?>
